home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / acpi / resume.d / 50-framebuffer-enable.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2008-10-14  |  152b  |  10 lines

  1. #!/bin/sh
  2.  
  3. # And turn the framebuffer back on
  4. for x in /sys/class/graphics/*; do
  5.     if [ -f $x/state ]; then
  6.         echo -n 0 >$x/state;
  7.     fi
  8. done
  9.  
  10.